FROM netdata/wget:latest

RUN wget https://repo.huaweicloud.com/java/jdk/8u192-b12/jdk-8u192-linux-x64.tar.gz -O /opt/jdk-8u192-linux-x64.tar.gz && \
    wget https://repo.huaweicloud.com/repository/maven/huaweicloudsdk/org/apache/hadoop/hadoop-huaweicloud/3.1.1-hw-45/hadoop-huaweicloud-3.1.1-hw-45.jar -O /opt/hadoop-huaweicloud-3.1.1-hw-45.jar && \
    wget https://repo1.maven.org/maven2/com/amazonaws/aws-java-sdk/1.12.543/aws-java-sdk-1.12.543.jar -O /opt/aws-java-sdk-1.12.543.jar && \
    wget https://repo1.maven.org/maven2/com/amazonaws/aws-java-sdk-s3/1.12.543/aws-java-sdk-s3-1.12.543.jar -O /opt/aws-java-sdk-s3-1.12.543.jar && \
    wget https://repo1.maven.org/maven2/com/amazonaws/aws-java-sdk-core/1.12.543/aws-java-sdk-core-1.12.543.jar -O /opt/aws-java-sdk-core-1.12.543.jar && \
    wget https://repo1.maven.org/maven2/com/amazonaws/aws-java-sdk-dynamodb/1.12.543/aws-java-sdk-dynamodb-1.12.543.jar -O /opt/aws-java-sdk-dynamodb-1.12.543.jar && \
    wget https://repo1.maven.org/maven2/com/amazonaws/aws-java-sdk-bundle/1.12.543/aws-java-sdk-bundle-1.12.543.jar -O /opt/aws-java-sdk-bundle-1.12.543.jar && \
    wget https://repo1.maven.org/maven2/org/apache/hadoop/hadoop-aws/3.2.4/hadoop-aws-3.2.4.jar -O /opt/hadoop-aws-3.2.4.jar && \
    wget https://repo1.maven.org/maven2/com/mysql/mysql-connector-j/8.2.0/mysql-connector-j-8.2.0.jar -O /opt/mysql-connector-j-8.2.0.jar && \
    wget https://repository.apache.org/content/groups/snapshots/org/apache/paimon/paimon-hive-connector-3.1/0.5-SNAPSHOT/paimon-hive-connector-3.1-0.5-20230906.033152-144.jar -O /opt/paimon-hive-connector-3.1-0.5-20230906.033152-144.jar && \
    wget https://repository.apache.org/content/groups/snapshots/org/apache/paimon/paimon-spark-3.4/0.5-SNAPSHOT/paimon-spark-3.4-0.5-20230906.033152-144.jar -O /opt/paimon-spark-3.4-0.5-20230906.033152-144.jar